package com.xinzhidi.web.netty.entity.vo;

import com.xinzhidi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 指令发送ListVo对象 device_instruction
 *
 * @author cx
 * @date 2023-06-16
 */
@ApiModel(value = "指令发送状态对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class DeviceInstructionStatusVo {
    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "dtuId")
    @Excel(name = "dtuId")
    private Long dtuId;


    @ApiModelProperty(value = "地址域")
    @Excel(name = "地址域")
    private String address;


    @ApiModelProperty(value = "状态（0：待发送 1：已发送 2：发送失败  3：回复正常 4：回复异常  5：回复超时）")
    @Excel(name = "状态", readConverterExp = "0=：待发送,1=：已发送,2=：发送失败,3=：回复正常,4=：回复异常,5=：回复超时")
    private String status;

    @ApiModelProperty(value = "设备状态")
    private String equipmentStatus;

    @ApiModelProperty(value = "设备id")
    private Long equipmentId;

}
